package com.he.staticproxymodel.decorator.concretedecorator;

import com.he.staticproxymodel.decorator.GiftDecorator;
import com.he.staticproxymodel.subject.GiveGift;
/**
 * 具体的送礼物装饰对象
 */
public class KindLoveGift extends GiftDecorator {

    public KindLoveGift(GiveGift giveGift) {
        super(giveGift);
    }

    @Override
    public void giveGift() {
        System.out.print("送你温暖的爱 ");
        super.giveGift();
    }
}
